<template>
  <div class="just-a-input" style="text-align: right">
    <a-input v-model:value="text" style="margin-bottom: 20px"></a-input>
    <a-button type="normal" @click="emit('cancel')">Cancel</a-button>
    <a-button type="primary" @click="emit('ok', text)">OK</a-button>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
const text = ref('');

const emit = defineEmits(['cancel', 'ok']);

</script>

<style scoped>

</style>